package com.example.shoppingmall.dao;

import com.example.shoppingmall.pojo.ParameterJurisdiction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ParameterJurisdictionMapper {

    public List<ParameterJurisdiction>parameterJurisdictionList(@Param("parameterId") int parameterId);

    public int add(ParameterJurisdiction parameterJurisdiction);

    public int chackName(@Param("name") String name, @Param("parameterId") int parameterId);

    public int delete(@Param("id") int id);
}
